↳ Prolog
↳ PrologToPiTRSProof
goal_in(A, B, C) → U1(A, B, C, s2t_in(A, T))
s2t_in(0, nil) → s2t_out(0, nil)
s2t_in(s(X), node(nil, Y, nil)) → s2t_out(s(X), node(nil, Y, nil))
s2t_in(s(X), node(T, Y, nil)) → U11(X, T, Y, s2t_in(X, T))
s2t_in(s(X), node(nil, Y, T)) → U10(X, Y, T, s2t_in(X, T))
s2t_in(s(X), node(T, Y, T)) → U9(X, T, Y, s2t_in(X, T))
U9(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, T))
U10(X, Y, T, s2t_out(X, T)) → s2t_out(s(X), node(nil, Y, T))
U11(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, nil))
U1(A, B, C, s2t_out(A, T)) → U2(A, B, C, tapplast_in(T, B, C))
tapplast_in(L, X, Last) → U3(L, X, Last, tappend_in(L, node(nil, X, nil), LX))
tappend_in(node(T1, X, T2), T3, node(T1, X, U)) → U8(T1, X, T2, T3, U, tappend_in(T2, T3, U))
tappend_in(node(T1, X, T2), T3, node(U, X, T2)) → U7(T1, X, T2, T3, U, tappend_in(T1, T3, U))
tappend_in(node(T1, X, nil), T2, node(T1, X, T2)) → tappend_out(node(T1, X, nil), T2, node(T1, X, T2))
tappend_in(node(nil, X, T2), T1, node(T1, X, T2)) → tappend_out(node(nil, X, T2), T1, node(T1, X, T2))
tappend_in(nil, T, T) → tappend_out(nil, T, T)
U7(T1, X, T2, T3, U, tappend_out(T1, T3, U)) → tappend_out(node(T1, X, T2), T3, node(U, X, T2))
U8(T1, X, T2, T3, U, tappend_out(T2, T3, U)) → tappend_out(node(T1, X, T2), T3, node(T1, X, U))
U3(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → U4(L, X, Last, tlast_in(Last, LX))
tlast_in(X, node(L, H, R)) → U6(X, L, H, R, tlast_in(X, R))
tlast_in(X, node(L, H, R)) → U5(X, L, H, R, tlast_in(X, L))
tlast_in(X, node(nil, X, nil)) → tlast_out(X, node(nil, X, nil))
U5(X, L, H, R, tlast_out(X, L)) → tlast_out(X, node(L, H, R))
U6(X, L, H, R, tlast_out(X, R)) → tlast_out(X, node(L, H, R))
U4(L, X, Last, tlast_out(Last, LX)) → tapplast_out(L, X, Last)
U2(A, B, C, tapplast_out(T, B, C)) → goal_out(A, B, C)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
goal_in(A, B, C) → U1(A, B, C, s2t_in(A, T))
s2t_in(0, nil) → s2t_out(0, nil)
s2t_in(s(X), node(nil, Y, nil)) → s2t_out(s(X), node(nil, Y, nil))
s2t_in(s(X), node(T, Y, nil)) → U11(X, T, Y, s2t_in(X, T))
s2t_in(s(X), node(nil, Y, T)) → U10(X, Y, T, s2t_in(X, T))
s2t_in(s(X), node(T, Y, T)) → U9(X, T, Y, s2t_in(X, T))
U9(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, T))
U10(X, Y, T, s2t_out(X, T)) → s2t_out(s(X), node(nil, Y, T))
U11(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, nil))
U1(A, B, C, s2t_out(A, T)) → U2(A, B, C, tapplast_in(T, B, C))
tapplast_in(L, X, Last) → U3(L, X, Last, tappend_in(L, node(nil, X, nil), LX))
tappend_in(node(T1, X, T2), T3, node(T1, X, U)) → U8(T1, X, T2, T3, U, tappend_in(T2, T3, U))
tappend_in(node(T1, X, T2), T3, node(U, X, T2)) → U7(T1, X, T2, T3, U, tappend_in(T1, T3, U))
tappend_in(node(T1, X, nil), T2, node(T1, X, T2)) → tappend_out(node(T1, X, nil), T2, node(T1, X, T2))
tappend_in(node(nil, X, T2), T1, node(T1, X, T2)) → tappend_out(node(nil, X, T2), T1, node(T1, X, T2))
tappend_in(nil, T, T) → tappend_out(nil, T, T)
U7(T1, X, T2, T3, U, tappend_out(T1, T3, U)) → tappend_out(node(T1, X, T2), T3, node(U, X, T2))
U8(T1, X, T2, T3, U, tappend_out(T2, T3, U)) → tappend_out(node(T1, X, T2), T3, node(T1, X, U))
U3(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → U4(L, X, Last, tlast_in(Last, LX))
tlast_in(X, node(L, H, R)) → U6(X, L, H, R, tlast_in(X, R))
tlast_in(X, node(L, H, R)) → U5(X, L, H, R, tlast_in(X, L))
tlast_in(X, node(nil, X, nil)) → tlast_out(X, node(nil, X, nil))
U5(X, L, H, R, tlast_out(X, L)) → tlast_out(X, node(L, H, R))
U6(X, L, H, R, tlast_out(X, R)) → tlast_out(X, node(L, H, R))
U4(L, X, Last, tlast_out(Last, LX)) → tapplast_out(L, X, Last)
U2(A, B, C, tapplast_out(T, B, C)) → goal_out(A, B, C)
GOAL_IN(A, B, C) → U11(A, B, C, s2t_in(A, T))
GOAL_IN(A, B, C) → S2T_IN(A, T)
S2T_IN(s(X), node(T, Y, nil)) → U111(X, T, Y, s2t_in(X, T))
S2T_IN(s(X), node(T, Y, nil)) → S2T_IN(X, T)
S2T_IN(s(X), node(nil, Y, T)) → U101(X, Y, T, s2t_in(X, T))
S2T_IN(s(X), node(nil, Y, T)) → S2T_IN(X, T)
S2T_IN(s(X), node(T, Y, T)) → U91(X, T, Y, s2t_in(X, T))
S2T_IN(s(X), node(T, Y, T)) → S2T_IN(X, T)
U11(A, B, C, s2t_out(A, T)) → U21(A, B, C, tapplast_in(T, B, C))
U11(A, B, C, s2t_out(A, T)) → TAPPLAST_IN(T, B, C)
TAPPLAST_IN(L, X, Last) → U31(L, X, Last, tappend_in(L, node(nil, X, nil), LX))
TAPPLAST_IN(L, X, Last) → TAPPEND_IN(L, node(nil, X, nil), LX)
TAPPEND_IN(node(T1, X, T2), T3, node(T1, X, U)) → U81(T1, X, T2, T3, U, tappend_in(T2, T3, U))
TAPPEND_IN(node(T1, X, T2), T3, node(T1, X, U)) → TAPPEND_IN(T2, T3, U)
TAPPEND_IN(node(T1, X, T2), T3, node(U, X, T2)) → U71(T1, X, T2, T3, U, tappend_in(T1, T3, U))
TAPPEND_IN(node(T1, X, T2), T3, node(U, X, T2)) → TAPPEND_IN(T1, T3, U)
U31(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → U41(L, X, Last, tlast_in(Last, LX))
U31(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → TLAST_IN(Last, LX)
TLAST_IN(X, node(L, H, R)) → U61(X, L, H, R, tlast_in(X, R))
TLAST_IN(X, node(L, H, R)) → TLAST_IN(X, R)
TLAST_IN(X, node(L, H, R)) → U51(X, L, H, R, tlast_in(X, L))
TLAST_IN(X, node(L, H, R)) → TLAST_IN(X, L)
goal_in(A, B, C) → U1(A, B, C, s2t_in(A, T))
s2t_in(0, nil) → s2t_out(0, nil)
s2t_in(s(X), node(nil, Y, nil)) → s2t_out(s(X), node(nil, Y, nil))
s2t_in(s(X), node(T, Y, nil)) → U11(X, T, Y, s2t_in(X, T))
s2t_in(s(X), node(nil, Y, T)) → U10(X, Y, T, s2t_in(X, T))
s2t_in(s(X), node(T, Y, T)) → U9(X, T, Y, s2t_in(X, T))
U9(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, T))
U10(X, Y, T, s2t_out(X, T)) → s2t_out(s(X), node(nil, Y, T))
U11(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, nil))
U1(A, B, C, s2t_out(A, T)) → U2(A, B, C, tapplast_in(T, B, C))
tapplast_in(L, X, Last) → U3(L, X, Last, tappend_in(L, node(nil, X, nil), LX))
tappend_in(node(T1, X, T2), T3, node(T1, X, U)) → U8(T1, X, T2, T3, U, tappend_in(T2, T3, U))
tappend_in(node(T1, X, T2), T3, node(U, X, T2)) → U7(T1, X, T2, T3, U, tappend_in(T1, T3, U))
tappend_in(node(T1, X, nil), T2, node(T1, X, T2)) → tappend_out(node(T1, X, nil), T2, node(T1, X, T2))
tappend_in(node(nil, X, T2), T1, node(T1, X, T2)) → tappend_out(node(nil, X, T2), T1, node(T1, X, T2))
tappend_in(nil, T, T) → tappend_out(nil, T, T)
U7(T1, X, T2, T3, U, tappend_out(T1, T3, U)) → tappend_out(node(T1, X, T2), T3, node(U, X, T2))
U8(T1, X, T2, T3, U, tappend_out(T2, T3, U)) → tappend_out(node(T1, X, T2), T3, node(T1, X, U))
U3(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → U4(L, X, Last, tlast_in(Last, LX))
tlast_in(X, node(L, H, R)) → U6(X, L, H, R, tlast_in(X, R))
tlast_in(X, node(L, H, R)) → U5(X, L, H, R, tlast_in(X, L))
tlast_in(X, node(nil, X, nil)) → tlast_out(X, node(nil, X, nil))
U5(X, L, H, R, tlast_out(X, L)) → tlast_out(X, node(L, H, R))
U6(X, L, H, R, tlast_out(X, R)) → tlast_out(X, node(L, H, R))
U4(L, X, Last, tlast_out(Last, LX)) → tapplast_out(L, X, Last)
U2(A, B, C, tapplast_out(T, B, C)) → goal_out(A, B, C)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
GOAL_IN(A, B, C) → U11(A, B, C, s2t_in(A, T))
GOAL_IN(A, B, C) → S2T_IN(A, T)
S2T_IN(s(X), node(T, Y, nil)) → U111(X, T, Y, s2t_in(X, T))
S2T_IN(s(X), node(T, Y, nil)) → S2T_IN(X, T)
S2T_IN(s(X), node(nil, Y, T)) → U101(X, Y, T, s2t_in(X, T))
S2T_IN(s(X), node(nil, Y, T)) → S2T_IN(X, T)
S2T_IN(s(X), node(T, Y, T)) → U91(X, T, Y, s2t_in(X, T))
S2T_IN(s(X), node(T, Y, T)) → S2T_IN(X, T)
U11(A, B, C, s2t_out(A, T)) → U21(A, B, C, tapplast_in(T, B, C))
U11(A, B, C, s2t_out(A, T)) → TAPPLAST_IN(T, B, C)
TAPPLAST_IN(L, X, Last) → U31(L, X, Last, tappend_in(L, node(nil, X, nil), LX))
TAPPLAST_IN(L, X, Last) → TAPPEND_IN(L, node(nil, X, nil), LX)
TAPPEND_IN(node(T1, X, T2), T3, node(T1, X, U)) → U81(T1, X, T2, T3, U, tappend_in(T2, T3, U))
TAPPEND_IN(node(T1, X, T2), T3, node(T1, X, U)) → TAPPEND_IN(T2, T3, U)
TAPPEND_IN(node(T1, X, T2), T3, node(U, X, T2)) → U71(T1, X, T2, T3, U, tappend_in(T1, T3, U))
TAPPEND_IN(node(T1, X, T2), T3, node(U, X, T2)) → TAPPEND_IN(T1, T3, U)
U31(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → U41(L, X, Last, tlast_in(Last, LX))
U31(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → TLAST_IN(Last, LX)
TLAST_IN(X, node(L, H, R)) → U61(X, L, H, R, tlast_in(X, R))
TLAST_IN(X, node(L, H, R)) → TLAST_IN(X, R)
TLAST_IN(X, node(L, H, R)) → U51(X, L, H, R, tlast_in(X, L))
TLAST_IN(X, node(L, H, R)) → TLAST_IN(X, L)
goal_in(A, B, C) → U1(A, B, C, s2t_in(A, T))
s2t_in(0, nil) → s2t_out(0, nil)
s2t_in(s(X), node(nil, Y, nil)) → s2t_out(s(X), node(nil, Y, nil))
s2t_in(s(X), node(T, Y, nil)) → U11(X, T, Y, s2t_in(X, T))
s2t_in(s(X), node(nil, Y, T)) → U10(X, Y, T, s2t_in(X, T))
s2t_in(s(X), node(T, Y, T)) → U9(X, T, Y, s2t_in(X, T))
U9(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, T))
U10(X, Y, T, s2t_out(X, T)) → s2t_out(s(X), node(nil, Y, T))
U11(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, nil))
U1(A, B, C, s2t_out(A, T)) → U2(A, B, C, tapplast_in(T, B, C))
tapplast_in(L, X, Last) → U3(L, X, Last, tappend_in(L, node(nil, X, nil), LX))
tappend_in(node(T1, X, T2), T3, node(T1, X, U)) → U8(T1, X, T2, T3, U, tappend_in(T2, T3, U))
tappend_in(node(T1, X, T2), T3, node(U, X, T2)) → U7(T1, X, T2, T3, U, tappend_in(T1, T3, U))
tappend_in(node(T1, X, nil), T2, node(T1, X, T2)) → tappend_out(node(T1, X, nil), T2, node(T1, X, T2))
tappend_in(node(nil, X, T2), T1, node(T1, X, T2)) → tappend_out(node(nil, X, T2), T1, node(T1, X, T2))
tappend_in(nil, T, T) → tappend_out(nil, T, T)
U7(T1, X, T2, T3, U, tappend_out(T1, T3, U)) → tappend_out(node(T1, X, T2), T3, node(U, X, T2))
U8(T1, X, T2, T3, U, tappend_out(T2, T3, U)) → tappend_out(node(T1, X, T2), T3, node(T1, X, U))
U3(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → U4(L, X, Last, tlast_in(Last, LX))
tlast_in(X, node(L, H, R)) → U6(X, L, H, R, tlast_in(X, R))
tlast_in(X, node(L, H, R)) → U5(X, L, H, R, tlast_in(X, L))
tlast_in(X, node(nil, X, nil)) → tlast_out(X, node(nil, X, nil))
U5(X, L, H, R, tlast_out(X, L)) → tlast_out(X, node(L, H, R))
U6(X, L, H, R, tlast_out(X, R)) → tlast_out(X, node(L, H, R))
U4(L, X, Last, tlast_out(Last, LX)) → tapplast_out(L, X, Last)
U2(A, B, C, tapplast_out(T, B, C)) → goal_out(A, B, C)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
TLAST_IN(X, node(L, H, R)) → TLAST_IN(X, L)
TLAST_IN(X, node(L, H, R)) → TLAST_IN(X, R)
goal_in(A, B, C) → U1(A, B, C, s2t_in(A, T))
s2t_in(0, nil) → s2t_out(0, nil)
s2t_in(s(X), node(nil, Y, nil)) → s2t_out(s(X), node(nil, Y, nil))
s2t_in(s(X), node(T, Y, nil)) → U11(X, T, Y, s2t_in(X, T))
s2t_in(s(X), node(nil, Y, T)) → U10(X, Y, T, s2t_in(X, T))
s2t_in(s(X), node(T, Y, T)) → U9(X, T, Y, s2t_in(X, T))
U9(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, T))
U10(X, Y, T, s2t_out(X, T)) → s2t_out(s(X), node(nil, Y, T))
U11(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, nil))
U1(A, B, C, s2t_out(A, T)) → U2(A, B, C, tapplast_in(T, B, C))
tapplast_in(L, X, Last) → U3(L, X, Last, tappend_in(L, node(nil, X, nil), LX))
tappend_in(node(T1, X, T2), T3, node(T1, X, U)) → U8(T1, X, T2, T3, U, tappend_in(T2, T3, U))
tappend_in(node(T1, X, T2), T3, node(U, X, T2)) → U7(T1, X, T2, T3, U, tappend_in(T1, T3, U))
tappend_in(node(T1, X, nil), T2, node(T1, X, T2)) → tappend_out(node(T1, X, nil), T2, node(T1, X, T2))
tappend_in(node(nil, X, T2), T1, node(T1, X, T2)) → tappend_out(node(nil, X, T2), T1, node(T1, X, T2))
tappend_in(nil, T, T) → tappend_out(nil, T, T)
U7(T1, X, T2, T3, U, tappend_out(T1, T3, U)) → tappend_out(node(T1, X, T2), T3, node(U, X, T2))
U8(T1, X, T2, T3, U, tappend_out(T2, T3, U)) → tappend_out(node(T1, X, T2), T3, node(T1, X, U))
U3(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → U4(L, X, Last, tlast_in(Last, LX))
tlast_in(X, node(L, H, R)) → U6(X, L, H, R, tlast_in(X, R))
tlast_in(X, node(L, H, R)) → U5(X, L, H, R, tlast_in(X, L))
tlast_in(X, node(nil, X, nil)) → tlast_out(X, node(nil, X, nil))
U5(X, L, H, R, tlast_out(X, L)) → tlast_out(X, node(L, H, R))
U6(X, L, H, R, tlast_out(X, R)) → tlast_out(X, node(L, H, R))
U4(L, X, Last, tlast_out(Last, LX)) → tapplast_out(L, X, Last)
U2(A, B, C, tapplast_out(T, B, C)) → goal_out(A, B, C)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
TLAST_IN(X, node(L, H, R)) → TLAST_IN(X, L)
TLAST_IN(X, node(L, H, R)) → TLAST_IN(X, R)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
TLAST_IN(node(L, R)) → TLAST_IN(R)
TLAST_IN(node(L, R)) → TLAST_IN(L)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
TAPPEND_IN(node(T1, X, T2), T3, node(U, X, T2)) → TAPPEND_IN(T1, T3, U)
TAPPEND_IN(node(T1, X, T2), T3, node(T1, X, U)) → TAPPEND_IN(T2, T3, U)
goal_in(A, B, C) → U1(A, B, C, s2t_in(A, T))
s2t_in(0, nil) → s2t_out(0, nil)
s2t_in(s(X), node(nil, Y, nil)) → s2t_out(s(X), node(nil, Y, nil))
s2t_in(s(X), node(T, Y, nil)) → U11(X, T, Y, s2t_in(X, T))
s2t_in(s(X), node(nil, Y, T)) → U10(X, Y, T, s2t_in(X, T))
s2t_in(s(X), node(T, Y, T)) → U9(X, T, Y, s2t_in(X, T))
U9(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, T))
U10(X, Y, T, s2t_out(X, T)) → s2t_out(s(X), node(nil, Y, T))
U11(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, nil))
U1(A, B, C, s2t_out(A, T)) → U2(A, B, C, tapplast_in(T, B, C))
tapplast_in(L, X, Last) → U3(L, X, Last, tappend_in(L, node(nil, X, nil), LX))
tappend_in(node(T1, X, T2), T3, node(T1, X, U)) → U8(T1, X, T2, T3, U, tappend_in(T2, T3, U))
tappend_in(node(T1, X, T2), T3, node(U, X, T2)) → U7(T1, X, T2, T3, U, tappend_in(T1, T3, U))
tappend_in(node(T1, X, nil), T2, node(T1, X, T2)) → tappend_out(node(T1, X, nil), T2, node(T1, X, T2))
tappend_in(node(nil, X, T2), T1, node(T1, X, T2)) → tappend_out(node(nil, X, T2), T1, node(T1, X, T2))
tappend_in(nil, T, T) → tappend_out(nil, T, T)
U7(T1, X, T2, T3, U, tappend_out(T1, T3, U)) → tappend_out(node(T1, X, T2), T3, node(U, X, T2))
U8(T1, X, T2, T3, U, tappend_out(T2, T3, U)) → tappend_out(node(T1, X, T2), T3, node(T1, X, U))
U3(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → U4(L, X, Last, tlast_in(Last, LX))
tlast_in(X, node(L, H, R)) → U6(X, L, H, R, tlast_in(X, R))
tlast_in(X, node(L, H, R)) → U5(X, L, H, R, tlast_in(X, L))
tlast_in(X, node(nil, X, nil)) → tlast_out(X, node(nil, X, nil))
U5(X, L, H, R, tlast_out(X, L)) → tlast_out(X, node(L, H, R))
U6(X, L, H, R, tlast_out(X, R)) → tlast_out(X, node(L, H, R))
U4(L, X, Last, tlast_out(Last, LX)) → tapplast_out(L, X, Last)
U2(A, B, C, tapplast_out(T, B, C)) → goal_out(A, B, C)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
TAPPEND_IN(node(T1, X, T2), T3, node(U, X, T2)) → TAPPEND_IN(T1, T3, U)
TAPPEND_IN(node(T1, X, T2), T3, node(T1, X, U)) → TAPPEND_IN(T2, T3, U)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
TAPPEND_IN(node(T1, T2), T3) → TAPPEND_IN(T1, T3)
TAPPEND_IN(node(T1, T2), T3) → TAPPEND_IN(T2, T3)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
S2T_IN(s(X), node(T, Y, T)) → S2T_IN(X, T)
S2T_IN(s(X), node(T, Y, nil)) → S2T_IN(X, T)
S2T_IN(s(X), node(nil, Y, T)) → S2T_IN(X, T)
goal_in(A, B, C) → U1(A, B, C, s2t_in(A, T))
s2t_in(0, nil) → s2t_out(0, nil)
s2t_in(s(X), node(nil, Y, nil)) → s2t_out(s(X), node(nil, Y, nil))
s2t_in(s(X), node(T, Y, nil)) → U11(X, T, Y, s2t_in(X, T))
s2t_in(s(X), node(nil, Y, T)) → U10(X, Y, T, s2t_in(X, T))
s2t_in(s(X), node(T, Y, T)) → U9(X, T, Y, s2t_in(X, T))
U9(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, T))
U10(X, Y, T, s2t_out(X, T)) → s2t_out(s(X), node(nil, Y, T))
U11(X, T, Y, s2t_out(X, T)) → s2t_out(s(X), node(T, Y, nil))
U1(A, B, C, s2t_out(A, T)) → U2(A, B, C, tapplast_in(T, B, C))
tapplast_in(L, X, Last) → U3(L, X, Last, tappend_in(L, node(nil, X, nil), LX))
tappend_in(node(T1, X, T2), T3, node(T1, X, U)) → U8(T1, X, T2, T3, U, tappend_in(T2, T3, U))
tappend_in(node(T1, X, T2), T3, node(U, X, T2)) → U7(T1, X, T2, T3, U, tappend_in(T1, T3, U))
tappend_in(node(T1, X, nil), T2, node(T1, X, T2)) → tappend_out(node(T1, X, nil), T2, node(T1, X, T2))
tappend_in(node(nil, X, T2), T1, node(T1, X, T2)) → tappend_out(node(nil, X, T2), T1, node(T1, X, T2))
tappend_in(nil, T, T) → tappend_out(nil, T, T)
U7(T1, X, T2, T3, U, tappend_out(T1, T3, U)) → tappend_out(node(T1, X, T2), T3, node(U, X, T2))
U8(T1, X, T2, T3, U, tappend_out(T2, T3, U)) → tappend_out(node(T1, X, T2), T3, node(T1, X, U))
U3(L, X, Last, tappend_out(L, node(nil, X, nil), LX)) → U4(L, X, Last, tlast_in(Last, LX))
tlast_in(X, node(L, H, R)) → U6(X, L, H, R, tlast_in(X, R))
tlast_in(X, node(L, H, R)) → U5(X, L, H, R, tlast_in(X, L))
tlast_in(X, node(nil, X, nil)) → tlast_out(X, node(nil, X, nil))
U5(X, L, H, R, tlast_out(X, L)) → tlast_out(X, node(L, H, R))
U6(X, L, H, R, tlast_out(X, R)) → tlast_out(X, node(L, H, R))
U4(L, X, Last, tlast_out(Last, LX)) → tapplast_out(L, X, Last)
U2(A, B, C, tapplast_out(T, B, C)) → goal_out(A, B, C)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
S2T_IN(s(X), node(T, Y, T)) → S2T_IN(X, T)
S2T_IN(s(X), node(T, Y, nil)) → S2T_IN(X, T)
S2T_IN(s(X), node(nil, Y, T)) → S2T_IN(X, T)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
S2T_IN(s(X)) → S2T_IN(X)
From the DPs we obtained the following set of size-change graphs: